<?php
namespace Viettrans\FrontBundle\Services\Lib;

class CssPacker {
	private $cssContent = '';

	public function __construct($cssContent) {
		$this->cssContent = $cssContent;
	}
	
	public function pack() {
		# Clean the content
		$refs = array(
			"\t" => '',
			"\n" => '',
			"\r" => '',
			"  " => '',
		);
		
		return strtr($this->cssContent, $refs);
	}
}

